package main

// panic用来抛出错误, recover用来捕获panic抛出的错误

func main() {
	defer func() {
		println("defer inner")
		recover()
	}()
	test()
}
func except() {
	recover()
}
func test() {
	defer except()
	panic("test panic")
}
